import Vue from 'vue'
import App from './App'
import store from './store'
import http from './utils/http'
import './utils/common.js'

import topNav from './components/top-nav/top-nav.vue'
import toast from './components/toast/toast.vue'
import noData from './components/no-data/no-data.vue'

Vue.config.productionTip = false

Vue.prototype.$http = http;
Vue.component('topNav', topNav)
Vue.component('toast', toast)
Vue.component('noData', noData)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
